package com.leps.nq.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "nq")
public class NqConfig {

    public static String uploadDir;

    public static String avatarDir;

    public static String qrcodeDir;

    public static String getUploadDir() {
        return uploadDir;
    }

    public void setUploadDir(String uploadDir) {
        NqConfig.uploadDir = uploadDir;
    }

    public static String getAvatarDir() {
        return avatarDir;
    }

    public void setAvatarDir(String avatarDir) {
        NqConfig.avatarDir = avatarDir;
    }

    public static String getQrcodeDir() {
        return qrcodeDir;
    }

    public void setQrcodeDir(String qrcodeDir) {
        NqConfig.qrcodeDir = qrcodeDir;
    }
}

